<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		*{
			padding: 0px;
			margin:0px; 
		}
		li{
			list-style: none;
		}
		.box{
			width: 250px;
			height: 350px;
			margin: 100px auto;
		}
		.top{
			width: 250px;
			height: 50px;
			/*background: blue url() 0 0 no-repeat;*/
			border: 1px solid #ccc;
			line-height: 50px;
			padding-left: 10px;
			box-sizing: border-box;
			font-weight: 800;
			position: relative;
			z-index: 10;
			top: 0px;

		}
		.bottom{
			width: 250px;
			height: 300px;
			position: relative;
			z-index: 1;
			top: 0px;
			overflow: hidden;
		}
		.gun{
			/*background: red url() 0 0 no-repeat;*/
			border: 1px solid #ccc;
			box-sizing: border-box;
			position: relative;
			top:0px;
			
			z-index: 1;
		}
		.gun li{
			width: 250px;
			height: 50px;
			line-height: 50px;
		}
		.active{
			background: #ccc url() 0 0 no-repeat;
		}
		
	</style>
	<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
	<script type="text/javascript">
		$(function(){
			time = setInterval(run,1000);

			// time = setTimeout(run,3000);

			function run() {

				$('.gun').animate({top:'-50px'},500,function(){
					$('.gun').append($('.gun li').first());
					$('.gun').css({top:'0px'})
				});
			}
			
		})
	</script>
</head>
<body>
	<div class="box">
		<div class="top">
			领号实时播报
		</div>
		<div class="bottom">
			<ul class="gun">
				<li>内容1</li>
				<li class="active">内容2</li>
				<li>内容3</li>
				<li class="active">内容4</li>
				<li>内容5</li>
				<li class="active">内容6</li>
				<li>内容7</li>
				<li class="active">内容8</li>
				<li>内容9</li>
				<li class="active">内容10</li>
				<li>内容1</li>
				<li class="active">内容2</li>
				<li>内容3</li>
				<li class="active">内容4</li>
				<li>内容5</li>
				<li class="active">内容6</li>
				<li>内容7</li>
				<li class="active">内容8</li>
				<li>内容9</li>
				<li class="active">内容10</li>
			</ul>
		</div>
	</div>
</body>
</html>